/**
 *  Mike_He 但是苹方字体 iOS9.0+出现  需要做适配
 *  这个分类主要用来 字体...
 (
 "PingFangSC-Ultralight",
 "PingFangSC-Regular",
 "PingFangSC-Semibold",
 "PingFangSC-Thin",
 "PingFangSC-Light",
 "PingFangSC-Medium"
 )
 */



/// 设置系统的字体大小（YES：粗体 NO：常规）
#define ArleneFont(__size__,__bold__) ((__bold__)?([UIFont boldSystemFontOfSize:__size__]):([UIFont systemFontOfSize:__size__]))

/// 极细体
#define ArleneUltralightFont(__size__) [UIFont arlene_fontForPingFangSC_UltralightFontOfSize:__size__]

/// 纤细体
#define ArleneThinFont(__size__)       [UIFont arlene_fontForPingFangSC_ThinFontOfSize:__size__]

/// 细体
#define ArleneLightFont(__size__)      [UIFont arlene_fontForPingFangSC_LightFontOfSize:__size__]

// 中等
#define ArleneMediumFont(__size__)     [UIFont arlene_fontForPingFangSC_MediumFontOfSize:__size__]

// 常规
#define ArleneRegularFont(__size__)    [UIFont arlene_fontForPingFangSC_RegularFontOfSize:__size__]

/** 中粗体 */
#define ArleneSemiboldFont(__size__)   [UIFont arlene_fontForPingFangSC_SemiboldFontOfSize:__size__]



/// 苹方常规字体 10
#define ArleneRegularFont_10 ArleneRegularFont(10.0f)
/// 苹方常规字体 11
#define ArleneRegularFont_11 ArleneRegularFont(11.0f)
/// 苹方常规字体 12
#define ArleneRegularFont_12 ArleneRegularFont(12.0f)
/// 苹方常规字体 13
#define ArleneRegularFont_13 ArleneRegularFont(13.0f)
/** 苹方常规字体 14 */
#define ArleneRegularFont_14 ArleneRegularFont(14.0f)
/// 苹方常规字体 15
#define ArleneRegularFont_15 ArleneRegularFont(15.0f)
/// 苹方常规字体 16
#define ArleneRegularFont_16 ArleneRegularFont(16.0f)
/// 苹方常规字体 17
#define ArleneRegularFont_17 ArleneRegularFont(17.0f)
/// 苹方常规字体 18
#define ArleneRegularFont_18 ArleneRegularFont(18.0f)
/// 苹方常规字体 19
#define ArleneRegularFont_19 ArleneRegularFont(19.0f)
/// 苹方常规字体 20
#define ArleneRegularFont_20 ArleneRegularFont(20.0f)


#import <UIKit/UIKit.h>

@interface UIFont (ArleneExtension)

/**
 *  苹方极细体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_UltralightFontOfSize:(CGFloat)fontSize;

/**
 *  苹方常规体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_RegularFontOfSize:(CGFloat)fontSize;

/**
 *  苹方中粗体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_SemiboldFontOfSize:(CGFloat)fontSize;

/**
 *  苹方纤细体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_ThinFontOfSize:(CGFloat)fontSize;

/**
 *  苹方细体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_LightFontOfSize:(CGFloat)fontSize;

/**
 *  苹方中黑体
 *
 *  @param fontSize 字体大小
 *
 */
+(instancetype) arlene_fontForPingFangSC_MediumFontOfSize:(CGFloat)fontSize;

@end
